import { lazy } from "react";
import {createBrowserRouter} from 'react-router-dom'
import Home from "../page/Home";
import My from "../page/My";
import Xq from "../page/Xq";
import List from "../page/List";

const routes=createBrowserRouter([
    {
        path:"/",
        element:<Home></Home>
    },
    {
        path:"/my",
        element:<My></My>
    },
    {
        path:"/xq",
        element:<Xq></Xq>
    },
    {
        path:"/list",
        element:<List></List>
    }
])

export default routes